<?php

class ControllerFactory {

    public function __construct() {
        LogUtil::info("class ControllerFactory", "__construct");
    }

    public function __destruct() {
        LogUtil::info("class ControllerFactory", "__destruct");
    }

    public static function getAdminPruebaController() {
        LogUtil::info("class ControllerFactory", "getAdminPruebaController");
        return new AdminPruebaController();
    }
    
    public static function getUserPruebaController() {
        LogUtil::info("class ControllerFactory", "getUserPruebaController");
        return new UserPruebaController();
    }
    //Controllers para Admin
    public static function getAdminConfigurarSisResController() {
        LogUtil::info("class ControllerFactory", "getAdminConfigurarSisResController");
        return new AdminConfigurarSisResController();
    }
    
    //Controllers para User
    public static function getUserRegistrarDatosReservaController() {
        LogUtil::info("class ControllerFactory", "getUserRegistrarDatosReservaController");
        return new UserRegistrarDatosReservaController();
    }
    
    public static function getUserRegistrarReservaFinalizadoController() {
        LogUtil::info("class ControllerFactory", "getUserRegistrarReservaFinalizadoController");
        return new UserRegistrarReservaFinalizadoController();
    }
}

?>